package com.wardrobe.mapper.slave.booking;

import com.wardrobe.domain.booking.BookingFromBean;
import com.wardrobe.domain.booking.BookingShowBean;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2018/11/16.
 */
@Component("bookingSlaveMapper")
public interface BookingSlaveMapper {

    List<BookingShowBean> selectBookingList(BookingFromBean fromBean);

    long countBooking(BookingFromBean fromBean);

    BookingShowBean selectBookingById(long id);

    List<BookingShowBean> selectApiBookingList();

    List<BookingShowBean> selectBookingByShopId(long shopId);
}
